loiter in front of (a building)

Translations
слоняться перед (зданием)
A group of students were loitering in front of the library.
Группа студентов слонялась перед библиотекой.